package mtest.structure;

import java.util.Scanner;

public class Demo1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入内容");
        String s = scanner.nextLine();

        // equals :判断字符串是否相等,大小写也会判断
        // equals :判断字符串是否相等
        // equals :判断字符串是否相等
        if (s.equals("hello")) {
            System.out.println(s);
        }

        System.out.println("END");
        scanner.close();
    }
}
